// 应用配置
import EnvConfig from './config/index.js';
import App from './App'
import './plugins/uView2.js';
import Vue from 'vue'
import store from './store'
import storejs from '@/utils/storejs.js'

// Api接口请求
import Api from '@/api/index.js';
// 挂载到vue实例
Vue.prototype.$api = Api;

// 全局工具类
import Utils from '@/utils/utils.js';
Vue.prototype.$utils = Utils;
//挂载到uni
uni.$utils = Utils;

// 缓存操作
Vue.prototype.$storejs = storejs;

//全局混入分享功能
import share from './mixins/share.js';
Vue.mixin(share);

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store: store,
    ...App
})
app.$mount()